<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Index lifecycle actions | ElasticSearch 7.7 权威指南中文版</title>
	<meta name="keywords" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <meta name="description" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <!-- Give IE8 a fighting chance -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" type="text/css" href="../static/styles.css" />
	<script>
	var _link = 'ilm-actions.html';
    </script>
</head>
<body>
<div class="main-container">
    <section id="content">
        <div class="content-wrapper">
            <section id="guide" lang="zh_cn">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 col-sm-8 col-md-8 guide-section">
                            <div style="color:gray; word-break: break-all; font-size:12px;">原英文版地址: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ilm-actions.html" rel="nofollow" target="_blank">https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ilm-actions.html</a>, 原文档版权归 www.elastic.co 所有<br/>本地英文版地址: <a href="../en/ilm-actions.html" rel="nofollow" target="_blank">../en/ilm-actions.html</a></div>
                        <!-- start body -->
                  <div class="page_header">
<strong>重要</strong>: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" rel="nofollow">当前版本文档</a>。
</div>
<div id="content">
<div class="breadcrumbs">
<span class="breadcrumb-link"><a href="index.html">Elasticsearch Guide [7.7]</a></span>
»
<span class="breadcrumb-link"><a href="index-lifecycle-management.html">ILM: Manage the index lifecycle</a></span>
»
<span class="breadcrumb-node">Index lifecycle actions</span>
</div>
<div class="navheader">
<span class="prev">
<a href="getting-started-index-lifecycle-management.html">« Tutorial: Automate rollover with ILM</a>
</span>
<span class="next">
<a href="ilm-allocate.html">Allocate »</a>
</span>
</div>
<div class="chapter xpack">
<div class="titlepage"><div><div>
<h2 class="title">
<a id="ilm-actions"></a>Index lifecycle actions<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/ilm/ilm-actions.asciidoc">edit</a><a class="xpack_tag" href="https://www.elastic.co/subscriptions"></a>
</h2>
</div></div></div>
<div class="variablelist">
<a id="ilm-allocate-action"></a>
<dl class="variablelist">
<dt>
<span class="term">
<a class="xref" href="ilm-allocate.html" title="Allocate">Allocate</a>
</span>
</dt>
<dd>
Move shards to nodes with different performance characteristics
and reduce the number of replicas.
</dd>
<dt>
<span class="term">
<a id="ilm-delete-action"></a><a class="xref" href="ilm-delete.html" title="Delete">Delete</a>
</span>
</dt>
<dd>
Permanently remove the index.
</dd>
<dt>
<span class="term">
<a id="ilm-forcemerge-action"></a><a class="xref" href="ilm-forcemerge.html" title="Force merge">Force merge</a>
</span>
</dt>
<dd>
Reduce the number of index segments and purge deleted documents.
Makes the index read-only.
</dd>
<dt>
<span class="term">
<a id="ilm-freeze-action"></a><a class="xref" href="ilm-freeze.html" title="Freeze">Freeze</a>
</span>
</dt>
<dd>
Freeze the index to minimize its memory footprint.
</dd>
<dt>
<span class="term">
<a id="ilm-readonly-action"></a><a class="xref" href="ilm-readonly.html" title="Read only">Read only</a>
</span>
</dt>
<dd>
Block write operations to the index.
</dd>
<dt>
<span class="term">
<a id="ilm-rollover-action"></a><a class="xref" href="ilm-rollover.html" title="Rollover">Rollover</a>
</span>
</dt>
<dd>
Remove the index as the write index for the rollover alias and
start indexing to a new index.
</dd>
<dt>
<span class="term">
<a id="ilm-set-priority-action"></a><a class="xref" href="ilm-set-priority.html" title="Set priority">Set Priority</a>
</span>
</dt>
<dd>
Lower the priority of an index as it moves through the lifecycle
to ensure that hot indices are recovered first.
</dd>
<dt>
<span class="term">
<a id="ilm-shrink-action"></a><a class="xref" href="ilm-shrink.html" title="Shrink">Shrink</a>
</span>
</dt>
<dd>
Reduce the number of primary shards by shrinking the index into a new index.
</dd>
<dt>
<span class="term">
<a id="ilm-unfollow-action"></a><a class="xref" href="ilm-unfollow.html" title="Unfollow">Unfollow</a>
</span>
</dt>
<dd>
Convert a follower index to a regular index.
Performed automatically before a rollover, shrink action.
</dd>
<dt>
<span class="term">
<a id="ilm-wait-for-snapshot-action"></a><a class="xref" href="ilm-wait-for-snapshot.html" title="Wait for snapshot">Wait for snapshot</a>
</span>
</dt>
<dd>
Ensure that a snapshot exists before deleting the index.
</dd>
</dl>
</div>










</div>
<div class="navfooter">
<span class="prev">
<a href="getting-started-index-lifecycle-management.html">« Tutorial: Automate rollover with ILM</a>
</span>
<span class="next">
<a href="ilm-allocate.html">Allocate »</a>
</span>
</div>
</div>

                  <!-- end body -->
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-4" id="right_col">
                        
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </section>
</div>
<script src="../static/cn.js"></script>
</body>
</html>